package org.yunmai.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.yunmai.entity.SysUser;
import org.yunmai.mapper.SysUserMapper;
import org.yunmai.service.SysUserService;
import org.yunmai.vo.SysUserVO;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_user】的数据库操作Service实现
* @createDate 2025-06-03 19:48:01
*/
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser>
    implements SysUserService{

    @Override
    public List<SysUserVO> getUserPage(int pageNum, int pageSize, String keyword) {
        int offset = (pageNum - 1) * pageSize;
        return baseMapper.selectUserPage(offset, pageSize, keyword);
    }


}




